home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.10'
- }
-
- def Preset_Halftone():
- return {
- 'BackgroundColor': (255,255,255),
- 'ColorScheme': App.Constants.ColorScheme.Greyscale,
- 'HalftonePattern': App.Constants.HalftonePattern.Square,
- 'Overlay': App.Constants.Boolean.true,
- 'OverlayBlendMode': App.Constants.BlendMode.Normal,
- 'OverlayOpacity': 50,
- 'PatternColor': (0,0,0),
- 'ScreenAngles': (100,162,90),
- 'Size': 20,
- 'TransparentBackground': App.Constants.Boolean.true
- }
-
- def Do(Environment):
- # Halftone
- App.Do( Environment, 'Halftone', Preset_Halftone())
-
-